<?php
require_once("language/rbac/zh_ch/index.php");
$smarty->assign("sPageType",sPageType);
$smarty->assign("sPageCharSet",sPageCharSet);
$smarty->assign("sModuleName",sModuleName);
$smarty->assign("sPageName",sPageName);
$smarty->assign("sTableName",$table["department"]);

$db_content=new conn_database(sHostName,sHostUser,sHostPassword,sDatabaseName,'utf8');
$sql="select iDepartment_Id,sDepartment_Name,sDepartment_Direction,sDepartment_Parent from user_department";
$request=mysql_query($sql);

while($data=mysql_fetch_array($request)){
$request_data[]=$data;
}
$smarty->assign("data",$request_data);

$smarty->display('rbac_index.tpl');
?>
